{include file="news/header.tpl"}

{literal}
<style>
.table{font-size:12px;}
.table th,.table td{text-align:center;}
</style>
{/literal}
<!-- 头部// -->
{include file="csv/top.tpl"}


	<!-- start: Content -->
			<div id="content" class="span12">
			
						
			<div class="row-fluid">


<div class="box span12"><!-- Default panel contents -->



<div class="span12">

<div class="btn-group" style="margin-bottom:10px;">
<a href="./index.php?csv/prize/?round=1" class="btn btn-default">第1轮</a>
<a href="./index.php?csv/prize/?round=2" class="btn btn-default">第2轮</a>
<a href="./index.php?csv/prize/?round=3" class="btn btn-default">第3轮</a>

<a href="./index.php?csv/prize/?round=4" class="btn btn-default">第4轮</a>

<a href="./index.php?csv/prize/?round=5" class="btn btn-default">第5轮</a>
<a href="./index.php?csv/prize/?round=6" class="btn btn-default">第6轮</a>
</div>
CSV列名:订单流水号,状态,奖项,第几轮

<table class="table  table-bordered table-hover">
	<tr class=title>
	   <th>序号</th>
		<th>军区</th>
	    <th>城市区域</th>
		<th>经销商</th>
		{foreach from=$prize item=l}
		<th>{$l.name}</th>
        <th>单价</th>
		{/foreach}
		<th>数量</th>
		<th>合计</th>
	</tr>
	
	{foreach from=$user item=l name=g}
	<tr>
	<td>{$smarty.foreach.g.iteration}</td>
	<td>{$l.junqu}</td>
	<td>{$l.area}</td>
	<td>{$l.jxs}</td>
	{foreach from=$l.list item=k}
	<td>{$k.prizenum}</td>
	<td>{$k.price}</td>
	{/foreach}
	<td>{$l.num}</td>
	<td>{$l.total}</td>
	</tr>
	
	{/foreach}

<tr class=title>
	   <th colspan=4>合计</th>

		{foreach from=$prize key=key item=l}
		<th>{$hz.$key.num}</th>
        <th>{$hz.$key.price}</th>
		{/foreach}
		<th>{$number}</th>
		<th>{$money}</th>
	</tr>

</table>

<div class="pagination pagination-centered">
<ul id="pager"></ul></div>

</div>


</div>






{include file="news/footer.tpl"}
